<?php
	namespace Common\Model;
	use Think\Model;
	class CouponsModel extends Model{
		protected $tableName = 'coupons';
		protected $fields = array(
			'id','type','cate','title','image_url','condition_amount','coupon','validity_begin_time','validity_end_time','integral','content','sort','status','is_deleted','addtime',
			'_pk' => 'id','_autoinc'=>true
		);
	}
?>